<html class="no-js" xmlns:th="http://www.thymeleaf.org"
	xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
	<body th:fragment="body">
		<script type="text/javascript" th:src="@{'/js/tTestToolsMerchant/tTestToolsMerchant.js'}"></script>
		<div class="am-panel am-panel-default">
			<hr/>
			<div class="am-g">
				<div class="am-u-sm-10 am-u-md-8">
					<form id="tTestToolsMerchant_form" class="am-form am-form-horizontal" method="post">
					
						<div class="am-form-group">
				            <label for="eaId" class="am-u-sm-3 am-form-label">eaId</label>
				            <div class="am-u-sm-9" th:if="${param.eaId} == null">
					            <input type="text" id="eaId" name="eaId" placeholder="eaId" required/>
				            </div>
				            <div class="am-u-sm-9" th:if="${param.eaId} != null">
					            <input type="text" id="eaId" name="eaId" th:value="${param.eaId[0]}" placeholder="eaId" readonly="readonly" />
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="name" class="am-u-sm-3 am-form-label">name</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="name" name="name" placeholder="name" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="prvKey" class="am-u-sm-3 am-form-label">prvKey</label>
				            <div class="am-u-sm-9">
				            	<textarea id="prvKey" name="prvKey" placeholder="prvKey" rows="10" cols="20"></textarea>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="prvPassword" class="am-u-sm-3 am-form-label">prvPassword</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="prvPassword" name="prvPassword" placeholder="prvPassword" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="channel" class="am-u-sm-3 am-form-label">channel</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="channel" name="channel" placeholder="channel" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="system" class="am-u-sm-3 am-form-label">system</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="system" name="system" placeholder="system" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="branch" class="am-u-sm-3 am-form-label">branch</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="branch" name="branch" placeholder="branch" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <label for="teller" class="am-u-sm-3 am-form-label">teller</label>
				            <div class="am-u-sm-9">
					            <input type="text" id="teller" name="teller" placeholder="teller" required/>
				            </div>
			            </div>
			            <div class="am-form-group">
				            <div class="am-u-sm-9 am-u-sm-push-3">
				            	<button type="button" id="saveOrUpdate" class="am-btn am-btn-primary" th:text="${param.eaId} == null ? '新增' : '修改'"></button>
				            </div>
			            </div>
					</form>
				</div>
			</div>
		</div>
	</body>
</html>